From 89664f543dc237fea54eb001225a9fb2e581d2e5 Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Wed, 26 Dec 2007 11:32:47 +0000 Subject: [PATCH] Take into account modifications of the inner frame for has_extra_children. svn path=/trunk/; revision=19245 --- gtk/gtkstatusbar.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gtk/gtkstatusbar.c b/gtk/gtkstatusbar.c index e96cdc7261..9fd215411e 100644 --- a/gtk/gtkstatusbar.c +++ b/gtk/gtkstatusbar.c @@ -825,6 +825,10 @@ has_extra_children (GtkStatusbar *statusbar) GList *l; GtkBoxChild *child, *frame; + /* If the internal frame has been modified assume we have extra children */ + if (gtk_bin_get_child (GTK_BIN (statusbar->frame)) != statusbar->label) + return TRUE; + frame = NULL; for (l = GTK_BOX (statusbar)->children; l; l = l->next) { -- 2.30.2